package com.veryGood.mapper;

import com.veryGood.domain.pojo.SupplierInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供应商管理Mapper
 */
@Mapper
public interface SupMngMapper {
    int addSup(SupplierInfo supplierInfo);

    List<SupplierInfo> findSupList(@Param("offset") Integer offset, @Param("rows") Integer rows);

    Integer countSup();

    int delSupId(Integer id);
}
